package com.itheima.itheima.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api("传智健康检查项接口文档API")
@RestController
@RequestMapping("checkitem")
public class SwaggerController {

    @DeleteMapping("deleteCheckItemByIdTest/{id}")
    @ApiOperation(value = "删除检查项", notes = "根据检查项id 逻辑删除检查项")
    public String deleteCheckItemById(@PathVariable("id") Integer id) {
        return "ok";
    }
}
